package com.softer.wxzj.mapper;

import com.softer.wxzj.entity.FlowType;
import com.softer.wxzj.mapper.base.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * RoleMapper class
 * @author zcz
 * @date 2019/1/16
 */
@Repository
public interface FlowTypeMapper extends BaseMapper<FlowType> {
    /**
     * 查询详细信息
     * @return
     */
    FlowType getInfoByFlowType(String flowType);

    /**
     * 根据流程类型查询流程名字
     * @param flowType
     * @return
     */
    String getFlowNameByFlowType(String flowType);
}
